package com.web.security.filter;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * Created with IntelliJ IDEA.
 * User: xf
 * Date: 2016/4/21
 * Time: 20:28
 * To change this template use Editor | File and Code Templates.
 */
public interface AuthenticationTokenResolver {

    boolean support(HttpServletRequest request);

    Authentication resolve(HttpServletRequest request);
}
